import { PicClassifyEntity } from 'src/entities/picClassify.entity';
import { PicEntity } from './../entities/pic.entity';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Module } from '@nestjs/common';
import { PicsController } from './pics.controller';
import { PicsService } from './pics.service';
import { SpecModule } from 'src/spec/spec.module';
import SpecEntity from 'src/entities/spec.entity';

@Module({
  imports: [
    TypeOrmModule.forFeature([PicEntity, PicClassifyEntity, SpecEntity]),
    SpecModule,
  ],
  controllers: [PicsController],
  providers: [PicsService],
})
export class PicsModule {}
